<me:UIAM06 x:Class="WPFExcelReport.TSHAM06"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:AM="clr-namespace:WPFExcelReport;assembly=TAMSTAMM"
                     x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAM06.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:SDKEYCONV x:Key="sd"/>
    </me:UIAM06.Resources> 
    <DataGrid  Grid.Row="1"  Grid.Column="0" 
                   VerticalAlignment="Top"  
                   AutoGenerateColumns="False"
                   EnableRowVirtualization="False"
                   IsReadOnly="True"
                   VerticalScrollBarVisibility="Auto"
                   HorizontalScrollBarVisibility="Auto"
                   HeadersVisibility="Column"     
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
                   IsSynchronizedWithCurrentItem="True" 
                   x:Name="dlgMaster"  
                   RowDetailsVisibilityMode="Visible"  
                    >
        <DataGrid.Columns>
             <DataGridTextColumn  Binding="{Binding DES}"
                                  Width="Auto"/>
            <DataGridTextColumn  Binding="{Binding AMEWERTNR}"   Width="Auto"/>
        </DataGrid.Columns>
    </DataGrid>
</me:UIAM06>
